<?php 
        echo $this->Html->script('bootstrap-datepicker.js');

        echo $this->Html->script('unicorn.js');
        echo $this->Html->script('unicorn.form_common.js');
        echo $this->Html->script('unicorn.wizard.js');
        
?>
<div id="content-header">
				<h1>Paramétres de l'auto-Ecole</h1>
				<div class="btn-group">
					<a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a>
				</div>
</div>
<div id="breadcrumb">
				<a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
				<a href="#" class="current">Paramétres</a>
</div>


<div class="container-fluid">
				<div class="row-fluid">
					<div class="span6">
                        <?= $this->Session->flash() ?>
						<div class="widget-box">
                            <div class="widget-content nopadding">
                                <div class="widget-title">
                                            <span class="icon">
                                                <i class="icon-pencil"></i>
                                            </span>
                                            <h5>Informations sur l'éléve</h5>
                                </div>  
                                 <?php 
                                        echo $this->Form->create('AutoEcole', array(
                                            //'id' => 'form-wizard', 
                                            'class' => 'form-horizontal',
                                            'novalidate' => 'novalidate'
                                            )); 
                                 ?>       
                                            <div class="control-group">
                                                <label class="control-label">Nom</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('nomEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">Adresse</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('adresseEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>
                                            
                                            <div class="control-group">
                                                <label class="control-label">Code postale</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('codePostaleEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">Ville</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('villeEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">Telephone fixe</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('telFixeEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div> 

                                            <div class="control-group">
                                                <label class="control-label">Telephone Portable</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('telPortEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">Faxe</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('faxeEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">Email</label>
                                                <div class="controls">
                                                    <?=  $this->Form->input('emailEcole',array('label' => false,'required'=>true)) ?> 
                                                </div>
                                            </div>

                                            <div class="form-actions">
                                                <input id="next" class="btn btn-primary" type="submit" value="Valider" />
                                                <div id="status"></div>
                                            </div>
                                            <div id="submitted"></div>  
                                            <?= $this->Form->end(); ?>
                             </div>                      
                        </div>
					</div>

                    <div class="span6">
                        <div class="widget-box">
                            <div class="widget-content nopadding">
                                <div class="widget-title">
                                            <span class="icon">
                                                <i class="icon-pencil"></i>
                                            </span>
                                            <h5>Horaires d'ouvertures</h5>
                                </div>  

                                <?php 
                                        echo $this->Form->create('AutoEcole', array(
                                            //'id' => 'form-wizard', 
                                            'class' => 'form-horizontal',
                                            'novalidate' => 'novalidate'
                                            )); 
                                 ?>   

                                <div class="control-group">
                                        <label class="control-label">Lundi</label>
                                        <div class="controls">
                                            
                                        </div>
                                </div>

                                 <div class="control-group">
                                        <label class="control-label">Mardi</label>
                                        <div class="controls">
                                             
                                        </div>
                                </div>

                                 <div class="control-group">
                                        <label class="control-label">Mercredi</label>
                                        <div class="controls">
                                            
                                        </div>
                                </div>

                                 <div class="control-group">
                                        <label class="control-label">Jeudi</label>
                                        <div class="controls">
                                            
                                        </div>
                                </div>

                                 <div class="control-group">
                                        <label class="control-label">Vendredi</label>
                                        <div class="controls">
                                            
                                        </div>
                                </div>

                                 <div class="control-group">
                                        <label class="control-label">Samedi</label>
                                        <div class="controls">
                                            
                                        </div>
                                </div>  
                                <?= $this->Form->end(); ?>  
                             </div>                      
                        </div>
                    </div>

                    <div class="span6">
                        <div class="widget-box">
                            <div class="widget-content nopadding">
                                <div class="widget-title">
                                            <span class="icon">
                                                <i class="icon-pencil"></i>
                                            </span>
                                            <h5>Categories de permis</h5>
                                </div>  

                                <?php 
                                        echo $this->Form->create('AutoEcole', array(
                                            //'id' => 'form-wizard', 
                                            'class' => 'form-horizontal',
                                            'novalidate' => 'novalidate'
                                            )); 
                                 ?>   

                                <table class="table table-bordered table-striped table-hover with-check">
                                    <tbody>
                                        <tr>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'A', 'hiddenField' => false));?></td>
                                            <td>A</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'AM', 'hiddenField' => false));?></td>
                                            <td>AM</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'A1', 'hiddenField' => false));?></td>
                                            <td>A1</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'A2', 'hiddenField' => false));?></td>
                                            <td>A2</td>
                                        </tr>
                                        <tr>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'B', 'hiddenField' => false));?></td>
                                            <td>B</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'B1', 'hiddenField' => false));?></td>
                                            <td>B1</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'B2', 'hiddenField' => false));?></td>
                                            <td>B2</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'C1', 'hiddenField' => false));?></td>
                                            <td>C1</td>
                                        </tr>
                                        <tr>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'C1E', 'hiddenField' => false));?></td>
                                            <td>C1E</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'C', 'hiddenField' => false));?></td>
                                            <td>C</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'CE', 'hiddenField' => false));?></td>
                                            <td>CE</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'D1', 'hiddenField' => false));?></td>
                                            <td>D1</td>
                                        </tr>
                                        <tr>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'D1E', 'hiddenField' => false));?></td>
                                            <td>D1E</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'D', 'hiddenField' => false));?></td>
                                            <td>D</td>
                                            <td><?= $this->Form->checkbox('cathegoriePermis.', array('value' => 'DE', 'hiddenField' => false));?></td>
                                            <td>DE</td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                    </tbody>
                                </table>  
                                <div class="form-actions">
                                    <input id="next" class="btn btn-primary" type="submit" value="Valider" />
                                    <div id="status"></div>
                                </div>
                                <div id="submitted"></div>        
                                <?= $this->Form->end(); ?>  
                             </div>                      
                        </div>
                    </div>
				</div>
</div>


<?php 
/*

 <label><?= $this->Form->checkbox('cathegoriePermis', array('value' => 'A'));?> A</label>
                                        echo $this->Form->create('AutoEcole', array(
                                            //'id' => 'form-wizard', 
                                            'class' => 'form-horizontal',
                                            'novalidate' => 'novalidate'
                                            )); 
                                            echo $this->Form->input('horairesOuverture'); 
                                            echo $this->Form->input('horairesCode');
                                            echo $this->Form->input('cathegoriePermis');
                                            echo $this->Form->input('prixHeureConduite');
                                            echo $this->Form->input('prixPresentationCode');
                                            echo $this->Form->input('prixPresentationConduite');
                                        echo $this->Form->end('Valider'); 
*/
?>